package top.lixunda.books3.dao;

import org.apache.ibatis.annotations.Param;
import top.lixunda.books3.entity.SoldNoteDetail;
import top.lixunda.books3.entity.SoldNoteDetailExample;
import top.lixunda.books3.entity.SoldNoteDetailKey;

import java.util.List;

public interface SoldNoteDetailMapper {
    long countByExample(SoldNoteDetailExample example);

    int deleteByExample(SoldNoteDetailExample example);

    int deleteByPrimaryKey(SoldNoteDetailKey key);

    int insert(SoldNoteDetail record);

    int insertSelective(SoldNoteDetail record);

    List<SoldNoteDetail> selectByExample(SoldNoteDetailExample example);

    SoldNoteDetail selectByPrimaryKey(SoldNoteDetailKey key);

    int updateByExampleSelective(@Param("record") SoldNoteDetail record, @Param("example") SoldNoteDetailExample example);

    int updateByExample(@Param("record") SoldNoteDetail record, @Param("example") SoldNoteDetailExample example);

    int updateByPrimaryKeySelective(SoldNoteDetail record);

    int updateByPrimaryKey(SoldNoteDetail record);
}